package com.ly.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author : 黑渊白花
 * @ClassName JoinActivity
 * @date : 2025/2/8 10:30
 * @Description
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class JoinActivity {
    @ExcelProperty("编号")
    @ColumnWidth(20)
    private Integer id;
    @ExcelProperty("学生id")
    @ColumnWidth(20)
    private Integer stuId;
    @ExcelProperty("活动id")
    @ColumnWidth(20)
    private Integer actId;
    @ExcelProperty("活动社团id")
    @ColumnWidth(20)
    private Integer teamId;
    @ExcelIgnore
    private String status;
    @ExcelProperty("报名时间")
    @ColumnWidth(20)
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Gmt+8")
    private Date createTime;
}
